package com.hzw.saas.web.app.flow.param;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zzl
 * @since 08/11/2021
 */
@Data
@ApiModel("流程发起参数")
public class FlowInstanceCreateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "流程定义ID", required = true)
    @NotBlank(message = "流程定义ID不可为空")
    private String flowId;

    @ApiModelProperty(value = "流程实例名称(可选)")
    private String flowInstanceName;
}
